(function filterBasicTests() {
  unitTests.push(function testClass() {
    var o = new flash.filters.BevelFilter(-5.2519693449139595, -2.9019980877637863, 0, -3.4659878984093666, 1, -6.180448666214943, -3.929354064166546, -0.9921955391764641, 7.5487546026706696, 3, "hello", true)
    eqFloat(o.highlightAlpha, 0)
    eq(o.knockout, true)
    eq(o.highlightColor, 0)
    eqFloat(o.strength, 7.546875)
    eqFloat(o.angle, -2.9019980877637863)
    eq(o.type, "full")
    eqFloat(o.blurX, 0)
    eqFloat(o.blurY, 0)
    eqFloat(o.shadowAlpha, 0)
    eq(o.quality, 3)
    eq(o.shadowColor, 1)
    eqFloat(o.distance, -5.2519693449139595)
    var o = new flash.filters.BevelFilter()
    eqFloat(o.highlightAlpha, 1)
    eq(o.knockout, false)
    eq(o.highlightColor, 16777215)
    eqFloat(o.strength, 1)
    eqFloat(o.angle, 45)
    eq(o.type, "inner")
    eqFloat(o.blurX, 4)
    eqFloat(o.blurY, 4)
    eqFloat(o.shadowAlpha, 1)
    eq(o.quality, 1)
    eq(o.shadowColor, 0)
    eqFloat(o.distance, 4)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.BlurFilter(2.1874042004346848, -6.298156276345253, -1)
    eqFloat(o.blurX, 2.1874042004346848)
    eqFloat(o.blurY, 0)
    eq(o.quality, 0)
    var o = new flash.filters.BlurFilter()
    eqFloat(o.blurX, 4)
    eqFloat(o.blurY, 4)
    eq(o.quality, 1)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.ColorMatrixFilter([])
    eqArray(o.matrix, [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])
    var o = new flash.filters.ColorMatrixFilter()
    eqArray(o.matrix, [1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0])
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.ConvolutionFilter(-4.916135922074318, 0.7315579131245613, [], 1.1015409380197525, 7.863721646368504, true, true, 14, 3.687146745622158)
    eqFloat(o.divisor, 1.1015409231185913)
    eqFloat(o.alpha, 1)
    eqFloat(o.bias, 7.86372184753418)
    eqFloat(o.matrixY, 0)
    eq(o.preserveAlpha, true)
    eqFloat(o.matrixX, 0)
    eqArray(o.matrix, [])
    eq(o.clamp, true)
    eq(o.color, 14)
    var o = new flash.filters.ConvolutionFilter()
    eqFloat(o.divisor, 1)
    eqFloat(o.alpha, 0)
    eqFloat(o.bias, 0)
    eqFloat(o.matrixY, 0)
    eq(o.preserveAlpha, true)
    eqFloat(o.matrixX, 0)
    eqArray(o.matrix, [])
    eq(o.clamp, true)
    eq(o.color, 0)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.DropShadowFilter(3.2122761458158493, 1.95479404181242, 11, 5.184854164719582, 7.4023218378424644, -1.7304283827543259, -6.021506674587727, 0, false, true, true)
    eq(o.inner, false)
    eqFloat(o.blurX, 7.4023218378424644)
    eq(o.hideObject, true)
    eqFloat(o.blurY, 0)
    eq(o.knockout, true)
    eqFloat(o.strength, 0)
    eqFloat(o.alpha, 1)
    eq(o.quality, 0)
    eqFloat(o.distance, 3.2122761458158493)
    eqFloat(o.angle, 1.9547940418124201)
    eq(o.color, 11)
    var o = new flash.filters.DropShadowFilter()
    eq(o.inner, false)
    eqFloat(o.blurX, 4)
    eq(o.hideObject, false)
    eqFloat(o.blurY, 4)
    eq(o.knockout, false)
    eqFloat(o.strength, 1)
    eqFloat(o.alpha, 1)
    eq(o.quality, 1)
    eqFloat(o.distance, 4)
    eqFloat(o.angle, 45)
    eq(o.color, 0)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.GlowFilter(3, -1.979300931096077, 5.951383829116821, -1.9275115355849266, -0.3414255604147911, -5, false, false)
    eq(o.inner, false)
    eqFloat(o.blurX, 5.951383829116821)
    eq(o.knockout, false)
    eqFloat(o.strength, 0)
    eqFloat(o.alpha, 0)
    eq(o.quality, 0)
    eqFloat(o.blurY, 0)
    eq(o.color, 3)
    var o = new flash.filters.GlowFilter()
    eq(o.inner, false)
    eqFloat(o.blurX, 6)
    eq(o.knockout, false)
    eqFloat(o.strength, 2)
    eqFloat(o.alpha, 1)
    eq(o.quality, 1)
    eqFloat(o.blurY, 6)
    eq(o.color, 16711680)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.GradientBevelFilter(-6.658947288990021, 6.462909199297428, [], [], [], 0.7594970315694809, 6.033500224351883, -4.8705747947096825, -7, "hello", false)
    eqArray(o.colors, [])
    eqArray(o.ratios, [])
    eqFloat(o.blurX, 0.7594970315694809)
    eq(o.knockout, false)
    eqFloat(o.blurY, 6.033500224351883)
    eqArray(o.alphas, [])
    eqFloat(o.strength, 0)
    eq(o.type, "full")
    eq(o.quality, 0)
    eqFloat(o.distance, -6.658947288990021)
    eqFloat(o.angle, 6.462909199297428)
    var o = new flash.filters.GradientBevelFilter()
    eqArray(o.colors, [])
    eqArray(o.ratios, [])
    eqFloat(o.blurX, 4)
    eq(o.knockout, false)
    eqFloat(o.blurY, 4)
    eqArray(o.alphas, [])
    eqFloat(o.strength, 1)
    eq(o.type, "inner")
    eq(o.quality, 1)
    eqFloat(o.distance, 4)
    eqFloat(o.angle, 45)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.GradientGlowFilter(7.97429334372282, 4.312287949025631, [], [], [], 0.8600878566503525, 3.9208758994936943, -7.9946539252996445, 4, "hello", true)
    eqArray(o.colors, [])
    eqArray(o.ratios, [])
    eqFloat(o.blurX, 0.8600878566503525)
    eq(o.knockout, true)
    eqFloat(o.blurY, 3.9208758994936943)
    eqArray(o.alphas, [])
    eqFloat(o.strength, 0)
    eq(o.type, "full")
    eq(o.quality, 4)
    eqFloat(o.distance, 7.97429334372282)
    eqFloat(o.angle, 4.312287949025631)
    var o = new flash.filters.GradientGlowFilter()
    eqArray(o.colors, [])
    eqArray(o.ratios, [])
    eqFloat(o.blurX, 4)
    eq(o.knockout, false)
    eqFloat(o.blurY, 4)
    eqArray(o.alphas, [])
    eqFloat(o.strength, 1)
    eq(o.type, "inner")
    eq(o.quality, 1)
    eqFloat(o.distance, 4)
    eqFloat(o.angle, 45)
  });
  unitTests.push(function testClass() {
    var o = new flash.filters.ShaderFilter(null)
    eq(o.topExtension, 0)
    eq(o.bottomExtension, 0)
    eq(o.shader, null)
    eq(o.rightExtension, 0)
    eq(o.leftExtension, 0)
    var o = new flash.filters.ShaderFilter()
    eq(o.topExtension, 0)
    eq(o.bottomExtension, 0)
    eq(o.shader, null)
    eq(o.rightExtension, 0)
    eq(o.leftExtension, 0)
  });

})();
